import java.util.Scanner;

public class CountDown1 {
    public static void main(String[] args) {
        Scanner stdIn=new Scanner(System.in);
        int x;
        do {
            System.out.println("随意输入一个整数：");
            x=stdIn.nextInt();
        }while(x<=0);
        while (x>=0)
        {
            System.out.println(x);
            x--;
        }
    }
}
